package com.hhit.zhgd.service

import com.baomidou.mybatisplus.core.metadata.IPage
import com.baomidou.mybatisplus.extension.service.IService
import com.hhit.zhgd.domain.entity.ZhgdDictionary
import com.hhit.zhgd.domain.response.BaseResp

interface ZhgdDictionaryService:IService<ZhgdDictionary> {
    fun getDictionaryPageInfo(keyWord: String?, page: Int, size: Int): IPage<ZhgdDictionary?>?

    fun getDictionaryByPCode(pCode: String?): List<ZhgdDictionary?>?

    fun addDictionary(zhgdDictionary: ZhgdDictionary?): BaseResp<Any?>?

    fun editDictionary(zhgdDictionary: ZhgdDictionary?): BaseResp<Any?>?

    fun delDictionary(id: Int?): BaseResp<Any?>?
}